package cn.luckdou.commons.pay.wechat.util;

/**
 * Copyright © 2016 绿闪电科技 @date;// 2016年11月9日 下午4;//54;//19 @author;// XianGuo
 */
public class WxRefundResult {
	private String return_code;// SUCCESS
	private String return_msg;// OK
	private String appid;// wxa03c653bcd16441a
	private String mch_id;// 1390106602
	private String nonce_str;// 0hSKC84zPNF0ZfXL
	private String sign;// E33FCC4722FAE3D78D5617B765D21E27
	private String result_code;// SUCCESS
	private String transaction_id;// 4001872001201611099215527816
	private String out_trade_no;// 201611091647520009690
	private String out_refund_no;// 201611091650123479279
	private String refund_id;// 2001872001201611090575082836
	private Object refund_channel;// []
	private String refund_fee;// 1
	private String coupon_refund_fee;// 0
	private long total_fee;// 1
	private long cash_fee;// 1
	private String coupon_refund_count;// 0
	private String cash_refund_fee;// 1
	private String err_code;// ORDERNOTEXIST;
	private String err_code_des;// 订单不存在;
	public WxRefundResult() {
		super();
		
	}
	public WxRefundResult(String return_code, String return_msg, String appid, String mch_id, String nonce_str,
			String sign, String result_code, String transaction_id, String out_trade_no, String out_refund_no,
			String refund_id, Object refund_channel, String refund_fee, String coupon_refund_fee, long total_fee,
			long cash_fee, String coupon_refund_count, String cash_refund_fee, String err_code, String err_code_des) {
		super();
		this.return_code = return_code;
		this.return_msg = return_msg;
		this.appid = appid;
		this.mch_id = mch_id;
		this.nonce_str = nonce_str;
		this.sign = sign;
		this.result_code = result_code;
		this.transaction_id = transaction_id;
		this.out_trade_no = out_trade_no;
		this.out_refund_no = out_refund_no;
		this.refund_id = refund_id;
		this.refund_channel = refund_channel;
		this.refund_fee = refund_fee;
		this.coupon_refund_fee = coupon_refund_fee;
		this.total_fee = total_fee;
		this.cash_fee = cash_fee;
		this.coupon_refund_count = coupon_refund_count;
		this.cash_refund_fee = cash_refund_fee;
		this.err_code = err_code;
		this.err_code_des = err_code_des;
	}
	public String getReturn_code() {
		return return_code;
	}
	public void setReturn_code(String return_code) {
		this.return_code = return_code;
	}
	public String getReturn_msg() {
		return return_msg;
	}
	public void setReturn_msg(String return_msg) {
		this.return_msg = return_msg;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getMch_id() {
		return mch_id;
	}
	public void setMch_id(String mch_id) {
		this.mch_id = mch_id;
	}
	public String getNonce_str() {
		return nonce_str;
	}
	public void setNonce_str(String nonce_str) {
		this.nonce_str = nonce_str;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getResult_code() {
		return result_code;
	}
	public void setResult_code(String result_code) {
		this.result_code = result_code;
	}
	public String getTransaction_id() {
		return transaction_id;
	}
	public void setTransaction_id(String transaction_id) {
		this.transaction_id = transaction_id;
	}
	public String getOut_trade_no() {
		return out_trade_no;
	}
	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}
	public String getOut_refund_no() {
		return out_refund_no;
	}
	public void setOut_refund_no(String out_refund_no) {
		this.out_refund_no = out_refund_no;
	}
	public String getRefund_id() {
		return refund_id;
	}
	public void setRefund_id(String refund_id) {
		this.refund_id = refund_id;
	}
	public Object getRefund_channel() {
		return refund_channel;
	}
	public void setRefund_channel(Object refund_channel) {
		this.refund_channel = refund_channel;
	}
	public String getRefund_fee() {
		return refund_fee;
	}
	public void setRefund_fee(String refund_fee) {
		this.refund_fee = refund_fee;
	}
	public String getCoupon_refund_fee() {
		return coupon_refund_fee;
	}
	public void setCoupon_refund_fee(String coupon_refund_fee) {
		this.coupon_refund_fee = coupon_refund_fee;
	}
	public long getTotal_fee() {
		return total_fee;
	}
	public void setTotal_fee(long total_fee) {
		this.total_fee = total_fee;
	}
	public long getCash_fee() {
		return cash_fee;
	}
	public void setCash_fee(long cash_fee) {
		this.cash_fee = cash_fee;
	}
	public String getCoupon_refund_count() {
		return coupon_refund_count;
	}
	public void setCoupon_refund_count(String coupon_refund_count) {
		this.coupon_refund_count = coupon_refund_count;
	}
	public String getCash_refund_fee() {
		return cash_refund_fee;
	}
	public void setCash_refund_fee(String cash_refund_fee) {
		this.cash_refund_fee = cash_refund_fee;
	}
	public String getErr_code() {
		return err_code;
	}
	public void setErr_code(String err_code) {
		this.err_code = err_code;
	}
	public String getErr_code_des() {
		return err_code_des;
	}
	public void setErr_code_des(String err_code_des) {
		this.err_code_des = err_code_des;
	}
	@Override
	public String toString() {
		return "WxRefundResult [return_code=" + return_code + ", return_msg=" + return_msg + ", appid=" + appid
				+ ", mch_id=" + mch_id + ", nonce_str=" + nonce_str + ", sign=" + sign + ", result_code=" + result_code
				+ ", transaction_id=" + transaction_id + ", out_trade_no=" + out_trade_no + ", out_refund_no="
				+ out_refund_no + ", refund_id=" + refund_id + ", refund_channel=" + refund_channel + ", refund_fee="
				+ refund_fee + ", coupon_refund_fee=" + coupon_refund_fee + ", total_fee=" + total_fee + ", cash_fee="
				+ cash_fee + ", coupon_refund_count=" + coupon_refund_count + ", cash_refund_fee=" + cash_refund_fee
				+ ", err_code=" + err_code + ", err_code_des=" + err_code_des + "]";
	}
	
}
